<?php

namespace App\CustHub\Mapper;

use App\CustHub\Model\ChAddFriendContent;
use Mine\Abstracts\AbstractMapper;

class ActiveAddFriendContentMapper extends AbstractMapper
{
    public function assignModel()
    {
        $this->model = ChAddFriendContent::class;
    }

    public function realDelete(array $ids): bool
    {
        return $this->model::query()
            ->whereIn('id', $ids)
            ->delete();
    }
}